package ca.eloas.judging.rest.repositories;

import java.util.Iterator;

/**
 * @author JP
 */
public interface Repository<TYPE> {

    TYPE get(long id);
    void save(TYPE... c);
    void delete(TYPE... c);
    void deleteAll(Iterable<TYPE> iter);
    Iterable<TYPE> listAll();
    Iterable<TYPE> iterateAll();


}
